// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './validator'
import './directive'
import store from './store'


//other module
import 'bowerComponent/bootstrap/dist/css/bootstrap.css'
import 'bowerComponent/font-awesome/css/font-awesome.css'
import 'bowerComponent/smalot-bootstrap-datetimepicker/css/bootstrap-datetimepicker.css'
import 'bowerComponent/select2/dist/css/select2.css'
import 'assets/style/app.less'

import 'bowerComponent/bootstrap/dist/js/bootstrap.js'
import 'bowerComponent/smalot-bootstrap-datetimepicker/js/bootstrap-datetimepicker.js'
import 'bowerComponent/smalot-bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js'
import 'bowerComponent/simple-module/lib/module.js'
import 'bowerComponent/simple-uploader/lib/uploader.js'
import 'bowerComponent/select2/dist/js/select2.js'
import 'bowerComponent/js-cookie/src/js.cookie.js'


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
